package com.woniuxy.enjoylife.mapper;

import com.woniuxy.enjoylife.entity.Goods_order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.enjoylife.entity.dto.ReturnGoodsOrderDto;
import com.woniuxy.enjoylife.entity.dto.SelectGoodsOrderDto;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-23
 */
public interface Goods_orderMapper extends BaseMapper<Goods_order> {

    List<ReturnGoodsOrderDto> selectDto(SelectGoodsOrderDto dto);

    Boolean deleteOrder(int id);

    Boolean updateOrder(Goods_order order);
}
